* {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

.menu {
    width: 1140px;
    margin: 0 auto;
    line-height: 32px;
    text-align: center;
    display: flex;
}

.menu>li {
    flex: 1;
    border: 1px solid #000;
    position: relative;
}

.menu>li>a.active {
    display: block;
    background-color: #6ff;
}

.menu .subNav {
    position: absolute;
    width: 100%;
    left: 0;
    /* padding: 5px; */
    background-color: #6ff;
    display: none;
}